package com.class05.j_polymorphic;

public class KeyBoard implements USB {
    @Override
    public void open() {
        System.out.println("键盘打开");
    }

    @Override
    public void close() {
        System.out.println("键盘关闭");
    }

    //特有方法
    public void printWord() {
        System.out.println("键盘打字");
    }

    //   @Override此注解表示用于检测方法重写表示
    public static void test2() {
        System.out.println("test2");
    }
}
